package com.suning.sawp.service.impl.bi.support;

import java.util.Map;

import com.suning.istore.common.bi.ftp.MultiTargetBIProcesser;
import com.suning.istore.common.bi.ftp.ShardedLineMapper;
import com.suning.istore.common.integration.BIDataCleanService;
import com.suning.istore.lang.BufferedAction.Action;

/**
 * 多路由FTP处理
 * 
 * @author 13071602
 *
 */
public class MultiContextWithDefinition extends MultiReportableTargetBIFileContext {
    public <T> MultiContextWithDefinition(Class<T> clazz, String lineDelimiter, ShardedLineMapper<T> lineMapper,
            BIDataCleanService<T> cleanService, Map<String, Action<T>> actions) {
        super(new MultiTargetBIProcesser<T>(clazz, lineMapper, cleanService, actions), lineDelimiter);
    }
}